package com.ganeshkrishnan.globald.dao;

import java.util.List;

import com.ganeshkrishnan.globald.abstracts.GenericDao;
import com.ganeshkrishnan.globald.model.Person;

public interface PersonDao extends GenericDao<Person, Long> {
	
	public List<Person> getPersonList() ;
	public void savePerson(Person prod);
	public List<Person> findByLastName(String lastName);

	public List<Person> findByCountryCode(int countryCode);

	public List<Person> findByLevel(int level);

	public List<Person> findByKarma(int Karma);

	public List<Person> findByKarmaRange(int karmaBegin, int karmaEnd);

	public List<Person> findByPowerRange(int powerBegin, int powerEnd);
}
